using OrangeProject.ReactiveList.Core.Communication;
using OrangeProject.ReactiveList.Core.Entities;

namespace OrangeProject.ReactiveList.Core.Server
{
    public abstract class Router<T> : IRouter<T> where T : IEntity
    {
        public DataBody receivedBody { get; set; }
        public DataBody sendingBody { get; set; }
        public abstract T[] Create(T[] data);
        public abstract T[] Update(T[] data);
        public abstract T[] Read();
        public abstract T[] Delete(T[] data);
    }
}

